Odd site redirection

Odd site redirection

am 05.10.2009 17:03:17 von Oliver Marshall

--_000_E67A4A6D94092C4180055CA36C65ABCA6E28A1B38DWHITEg2supp or_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi chaps,


Was wondering if someone can help me look at a problem. We've created a new=
virtual host entry on a particular box, which do frequently (once a month =
or so) only this time, when a user goes to the new site, they get directed =
to the first site in the conf file.



You can type in http://wiggle.mydomain.com and hit enter and you instantly =
get a http://woggle.mydomain.com and the address bar in the browser also ch=
anges.



I've tried creating other new virtual host entries with just the absolute b=
asic entries and those also show the same issue. I've also tried adding a c=
ustom log entry for the new vhost sites but the log stays empty.



There's no .htaccess file involved in either of the sites.



The new vhost entry looks like this;





documentroot /var/www/new_site

servername new_site.mydomain.co.uk





The site that it get's directed to looks like this;





DocumentRoot /var/www/first_site

ServerName first_site.mydomain.co.uk

ServerName first_site.mydomain.com



AuthBasicProvider ldap

AuthzLDAPAuthoritative off

AuthLDAPBindDN "CN=3DLDAP USER,CN=3DUsers,DC=3Dmydomain,DC=
=3Dlocal"

AuthLDAPBindPassword ***************

AuthLDAPURL "ldap://server1/DC=3Dmydomain,DC=3Dlocal?sAMAcc=
ountName?sub?(objectClass=3D*)" NONE

AuthLDAPGroupAttributeIsDN on

require ldap-group CN=3DWeb Users,OU=3DSecurity Groups,OU=
=3DMydomain LLP,DC=3Dmydomain,DC=3Dlocal

AuthName "Mydomain First Site"







There are lots of other sites on the server and they are working fine, its =
just started happening today. We've also tried using a plain "hello world" =
style index.html file to rule out any meta refresh issue that the coders ma=
y have put in to the index file. The SVN stuff all works fine, it's just th=
ere for the sake of accuracy.



Is there a way to find out whats causing the redirect and/or where they red=
irect is happening ?



Olly

--

G2 Support

Network Support : Online Backups : Server Management


--_000_E67A4A6D94092C4180055CA36C65ABCA6E28A1B38DWHITEg2supp or_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">

>





Hi chaps,




Was wondering if someone can help me look at a problem. We've created a new=
virtual host entry on a particular box, which do frequently (once a month =
or so) only this time, when a user goes to the new site, they get directed =
to the first site in the conf file.


 


You can type in m">http://wiggle.mydomain.com and hit enter and you instantly get a
and t=
he address bar in the browser also changes.


 


I've tried creating other new virtual host entries w=
ith just the absolute basic entries and those also show the same issue. I'v=
e also tried adding a custom log entry for the new vhost sites but the log =
stays empty.


 


There's no .htaccess file involved in either of the =
sites.


 


The new vhost entry looks like this;


 


<virtualhost new_site.mydomain.co.uk:80><=
/o:p>


        &nbs=
p;    documentroot /var/www/new_site


        &nbs=
p;    servername new_site.mydomain.co.uk


</virtualhost>


 


The site that it get's directed to looks like this;<=
o:p>


 


<VirtualHost first_site.mydomain.co.uk:80> >


        DocumentR=
oot /var/www/first_site


        ServerNam=
e first_site.mydomain.co.uk


        ServerNam=
e first_site.mydomain.com


        <direc=
tory />


        &nbs=
p;       AuthBasicProvider ldap >

        &nbs=
p;       AuthzLDAPAuthoritative off >


        &nbs=
p;       AuthLDAPBindDN "CN=3DLDAP USER,=
CN=3DUsers,DC=3Dmydomain,DC=3Dlocal"


        &nbs=
p;       AuthLDAPBindPassword ***************=


        &nbs=
p;       AuthLDAPURL "ldap://server1/DC=
=3Dmydomain,DC=3Dlocal?sAMAccountName?sub?(objectClass=3D*)" NONE=


        &nbs=
p;       AuthLDAPGroupAttributeIsDN on o:p>


        &nbs=
p;       require ldap-group CN=3DWeb Users,OU=
=3DSecurity Groups,OU=3DMydomain LLP,DC=3Dmydomain,DC=3Dlocal >

        &nbs=
p;       AuthName "Mydomain First Site&q=
uot;


        </dire=
ctory>


</VirtualHost>


 


There are lots of other sites on the server and they=
are working fine, its just started happening today. We've also tried using=
a plain "hello world" style index.html file to rule out any meta=
refresh issue that the coders may have put
in to the index file. The SVN stuff all works fine, it's just there for th=
e sake of accuracy.


 


Is there a way to find out whats causing the redirec=
t and/or where they redirect is happening ?


 


Olly


--


G2 Support


Network Support : Online Backups : Server Management=






--_000_E67A4A6D94092C4180055CA36C65ABCA6E28A1B38DWHITEg2supp or_--

Re: Odd site redirection

am 06.10.2009 09:06:29 von Igor Cicimov

--000e0cd252fa8e77a604753ede48
Content-Type: text/plain; charset=ISO-8859-1

I would say something is wrong with your new virtual host definition. It's
not a redirection but since the request doesn't match any virtual host is
being served by the first one in the config file.


On Tue, Oct 6, 2009 at 2:03 AM, Oliver Marshall <
Oliver.Marshall@g2support.com> wrote:

> Hi chaps,
>
>
> Was wondering if someone can help me look at a problem. We've created a new
> virtual host entry on a particular box, which do frequently (once a month or
> so) only this time, when a user goes to the new site, they get directed to
> the first site in the conf file.
>
>
>
> You can type in http://wiggle.mydomain.com and hit enter and you instantly
> get a http://woggle.mydomain.com and the address bar in the browser also
> changes.
>
>
>
> I've tried creating other new virtual host entries with just the absolute
> basic entries and those also show the same issue. I've also tried adding a
> custom log entry for the new vhost sites but the log stays empty.
>
>
>
> There's no .htaccess file involved in either of the sites.
>
>
>
> The new vhost entry looks like this;
>
>
>
>
>
> documentroot /var/www/new_site
>
> servername new_site.mydomain.co.uk
>
>

>
>
>
> The site that it get's directed to looks like this;
>
>
>
>
>
> DocumentRoot /var/www/first_site
>
> ServerName first_site.mydomain.co.uk
>
> ServerName first_site.mydomain.com
>
>
>
> AuthBasicProvider ldap
>
> AuthzLDAPAuthoritative off
>
> AuthLDAPBindDN "CN=LDAP USER,CN=Users,DC=mydomain,DC=local"
>
> AuthLDAPBindPassword ***************
>
> AuthLDAPURL
> "ldap://server1/DC=mydomain,DC=local?sAMAccountName?sub?(obj ectClass=*)"
> NONE
>
> AuthLDAPGroupAttributeIsDN on
>
> require ldap-group CN=Web Users,OU=Security
> Groups,OU=Mydomain LLP,DC=mydomain,DC=local
>
> AuthName "Mydomain First Site"
>
>

>
>

>
>
>
> There are lots of other sites on the server and they are working fine, its
> just started happening today. We've also tried using a plain "hello world"
> style index.html file to rule out any meta refresh issue that the coders may
> have put in to the index file. The SVN stuff all works fine, it's just there
> for the sake of accuracy.
>
>
>
> Is there a way to find out whats causing the redirect and/or where they
> redirect is happening ?
>
>
>
> Olly
>
> --
>
> G2 Support
>
> Network Support : Online Backups : Server Management
>

--000e0cd252fa8e77a604753ede48
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I would say something is wrong with your new virtual host definition. It=
9;s not a redirection but since the request doesn't match any virtual h=
ost is being served by the first one in the config file.


ass=3D"gmail_quote">
On Tue, Oct 6, 2009 at 2:03 AM, Oliver Marshall < ef=3D"mailto:Oliver.Marshall@g2support.com">Oliver.Marshall@ g2support.com a>> wrote:
eft: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:=
1ex;">








Hi chaps,




Was wondering if someone can help me look at a problem. We've created a=
new virtual host entry on a particular box, which do frequently (once a mo=
nth or so) only this time, when a user goes to the new site, they get direc=
ted to the first site in the conf file.


=A0


You can type in >http://wiggle.mydomain.com and hit enter and you instantly get a
http://woggle.mydo=
main.com
and the address bar in the browser also changes.


=A0


I've tried creating other new virtual host entries with just the abs=
olute basic entries and those also show the same issue. I've also tried=
adding a custom log entry for the new vhost sites but the log stays empty.


=A0


There's no .htaccess file involved in either of the sites.


=A0


The new vhost entry looks like this;


=A0


<virtualhost _blank">new_site.mydomain.co.uk:80>


             documentroot /var/www/new_site


             servername te.mydomain.co.uk" target=3D"_blank">new_site.mydomain.co.uk


</virtualhost>


=A0


The site that it get's directed to looks like this;


=A0


<VirtualHost =3D"_blank">first_site.mydomain.co.uk:80>


      =A0 DocumentRoot /var/www/first_site


      =A0 ServerName o.uk" target=3D"_blank">first_site.mydomain.co.uk


      =A0 ServerName om" target=3D"_blank">first_site.mydomain.com


      =A0 <directory />


              =A0 AuthBasicProvider ldap


              =A0 AuthzLDAPAuthoritative off=


              =A0 AuthLDAPBindDN "CN=3D=
LDAP USER,CN=3DUsers,DC=3Dmydomain,DC=3Dlocal"


              =A0 AuthLDAPBindPassword *****=
**********


              =A0 AuthLDAPURL "ldap://s=
erver1/DC=3Dmydomain,DC=3Dlocal?sAMAccountName?sub?(objectCl ass=3D*) " =
NONE


              =A0 AuthLDAPGroupAttributeIsDN=
on


              =A0 require ldap-group CN=3DWe=
b Users,OU=3DSecurity Groups,OU=3DMydomain LLP,DC=3Dmydomain,DC=3Dlocal


              =A0 AuthName "Mydomain Fi=
rst Site"


      =A0 </directory>


</VirtualHost>


=A0


There are lots of other sites on the server and they are working fine, i=
ts just started happening today. We've also tried using a plain "h=
ello world" style index.html file to rule out any meta refresh issue t=
hat the coders may have put
in to the index file. The SVN stuff all works fine, it's just there fo=
r the sake of accuracy.


=A0


Is there a way to find out whats causing the redirect and/or where they =
redirect is happening ?


=A0


Olly


--


G2 Support


Network Support : Online Backups : Server Management








--000e0cd252fa8e77a604753ede48--

Re: Odd site redirection

am 06.10.2009 10:38:02 von Dick Davies

Do you have a

NameVirtualHost *.80

in your apache config somewhere?

On Tue, Oct 6, 2009 at 8:06 AM, Igor Cicimov wrote:
> I would say something is wrong with your new virtual host definition. It'=
s
> not a redirection but since the request doesn't match any virtual host is
> being served by the first one in the config file.
>
>
> On Tue, Oct 6, 2009 at 2:03 AM, Oliver Marshall
> wrote:
>>
>> Hi chaps,
>>
>> Was wondering if someone can help me look at a problem. We've created a
>> new virtual host entry on a particular box, which do frequently (once a
>> month or so) only this time, when a user goes to the new site, they get
>> directed to the first site in the conf file.
>>
>>
>>
>> You can type in http://wiggle.mydomain.com and hit enter and you instant=
ly
>> get a http://woggle.mydomain.com and the address bar in the browser also
>> changes.
>>
>>
>>
>> I've tried creating other new virtual host entries with just the absolut=
e
>> basic entries and those also show the same issue. I've also tried adding=
a
>> custom log entry for the new vhost sites but the log stays empty.
>>
>>
>>
>> There's no .htaccess file involved in either of the sites.
>>
>>
>>
>> The new vhost entry looks like this;
>>
>>
>>
>>
>>
>>              documentroot /var/www/new_site
>>
>>              servername new_site.mydomain.co.uk
>>
>>

>>
>>
>>
>> The site that it get's directed to looks like this;
>>
>>
>>
>>
>>
>>       =A0 DocumentRoot /var/www/first_site
>>
>>       =A0 ServerName first_site.mydomain.co.uk
>>
>>       =A0 ServerName first_site.mydomain.com
>>
>>       =A0
>>
>>               =A0 AuthBasicProvider ldap
>>
>>               =A0 AuthzLDAPAuthoritative off
>>
>>               =A0 AuthLDAPBindDN "CN=3DLDAP
>> USER,CN=3DUsers,DC=3Dmydomain,DC=3Dlocal"
>>
>>               =A0 AuthLDAPBindPassword *****=
**********
>>
>>               =A0 AuthLDAPURL
>> "ldap://server1/DC=3Dmydomain,DC=3Dlocal?sAMAccountName?sub? (objectClass=
=3D*)"
>> NONE
>>
>>               =A0 AuthLDAPGroupAttributeIsDN=
on
>>
>>               =A0 require ldap-group CN=3DWe=
b Users,OU=3DSecurity
>> Groups,OU=3DMydomain LLP,DC=3Dmydomain,DC=3Dlocal
>>
>>               =A0 AuthName "Mydomain First S=
ite"
>>
>>       =A0

>>
>>

>>
>>
>>
>> There are lots of other sites on the server and they are working fine, i=
ts
>> just started happening today. We've also tried using a plain "hello worl=
d"
>> style index.html file to rule out any meta refresh issue that the coders=
may
>> have put in to the index file. The SVN stuff all works fine, it's just t=
here
>> for the sake of accuracy.
>>
>>
>>
>> Is there a way to find out whats causing the redirect and/or where they
>> redirect is happening ?
>>
>>
>>
>> Olly
>>
>> --
>>
>> G2 Support
>>
>> Network Support : Online Backups : Server Management
>

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org